Optimal. Leaf size=30 \[ -\frac{2 \sqrt{a-a x} \, _2F_1\left (\frac{1}{2},-n;\frac{3}{2};1-x\right )}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0044462, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.071, Rules used = {65} \[ -\frac{2 \sqrt{a-a x} \, _2F_1\left (\frac{1}{2},-n;\frac{3}{2};1-x\right )}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rubi steps
\begin{align*} \int \frac{x^n}{\sqrt{a-a x}} \, dx &=-\frac{2 \sqrt{a-a x} \, _2F_1\left (\frac{1}{2},-n;\frac{3}{2};1-x\right )}{a}\\ \end{align*}
Mathematica [A] time = 0.0073741, size = 30, normalized size = 1. \[ -\frac{2 \sqrt{a-a x} \, _2F_1\left (\frac{1}{2},-n;\frac{3}{2};1-x\right )}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.023, size = 0, normalized size = 0. \begin{align*} \int{{x}^{n}{\frac{1}{\sqrt{-ax+a}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{n}}{\sqrt{-a x + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{-a x + a} x^{n}}{a x - a}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 0.995525, size = 31, normalized size = 1.03 \begin{align*} - \frac{2 i \sqrt{x - 1}{{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, - n \\ \frac{3}{2} \end{matrix}\middle |{\left (x - 1\right ) e^{i \pi }} \right )}}{\sqrt{a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{n}}{\sqrt{-a x + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]